<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>案例5</title>
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
			}

			div {
				width: 300px;
				height: 300px;
				margin: 150px auto;
				text-align: center;
				line-height: 270px;
				background-color: red;
				color: white;
			}
		</style>
	</head>
	<body>
		<div id="div1">
			点击我就闪
		</div>
	</body>
</html>
<script src="../js/jquery-3.5.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/test5.js" type="text/javascript" charset="utf-8"></script>